<?php
/* +----------------------------------------------------------------------
   | 新客服系统方法
   +----------------------------------------------------------------------*/

namespace Home\Controller;

use Think\Controller;

Class NextItemController extends CommnController
{
    public function __construct()
    {
        parent::__construct();
    }

    /*
     *同事
     *  */
    public function colleague()
    {
        $admins = M('admin', '', 'KEFU')->field('name,agent_status')->select();
        $data_json = json_encode($admins);
        $this->ajax('1001', $data_json);
    }

    /*
    *工单动态  公告信息
    *  */
    public function workOrder()
    {
        $admins = M('admin', '', 'KEFU')->field('name,agent_status')->select();
        $data_json = json_encode($admins);
        $this->ajax('1001', $data_json);
    }

    /*
    *任务
    *  */
    public function task()
    {
        $admins = M('admin', '', 'KEFU')->field('name,agent_status')->select();
        $data_json = json_encode($admins);
        $this->ajax('1001', $data_json);
    }

}